﻿using System.ComponentModel.DataAnnotations.Schema;

namespace ERP.Domain
{
    /// <summary>
    /// 实体基类
    /// </summary>
    public class BaseEntity
    {
        /// <summary>
        /// long类型主键不自增
        /// </summary>
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
